<?php
class Index_Controller_Index implements Index_Controller_Mainable{
    
    public $page = array();
    
    private $index_model_pagedata;
    
    public function __construct() {
        $this->index_model_pagedata = new Index_Model_Pagedata;
    }
    
    public function main(array $variables = null) {
        $this->page = $this->index_model_pagedata->main($variables);
        
        $view = new Core_Controller_View("./index/views/index.php");
        $view->assign('page', $this->page);
    }
}
